<!--
 * @Author: 刘霁雯
 * @Description: 已收货
 -->
<template>
    <div>
        <cli-title-saler></cli-title-saler>
        <div class="orderList">
            <order-list :list="2" :order-list="orderList"></order-list>
        </div>
    </div>
</template>

<script>
    import CliTitleSaler from "../../../components/base/cliTitleSaler";
    import OrderList from "../../../components/base/orderList";
    import Cookie from "js-cookie";
    import POST from "../../../api/POST"
    export default {
        components: {OrderList, CliTitleSaler},
        data () {
            return {
                orderList:[]
            }
        },
        mounted(){
            this.getList()
        },
        methods: {
            evaOrder(){
                let data={
                    orderno:orderno
                }

            },
            getList(){
                let data = {
                    token:Cookie.get('token')
                }
                POST.servedOrder(data).then(res=>{
                    this.orderList = res;
                })

            }
        }
    }
</script>
<style scope>
    .orderList {
        position: absolute;
        right: 0;
        left: 0;
        top: 65px;
        margin: auto;
    }


</style>
